I want to create a new attributeset through a custom module installer. I found this code and it works :-) Only thing missing is that he should copy the new attribute set from the exsisting default attribute set. That way he would copy all the attributes already in the default set.
For example when I create attributes I use
<?php
$installer = $this;
/* @var $installer Mage_Eav_Model_Entity_Setup */
$installer->startSetup();
$installer->addAttributeSet(Mage_Catalog_Model_Product::ENTITY, 'Stoelen');
$installer->endSetup();