Copying a Named Set Into a New Named Set
Scripts on this page are available here:
CopyingANamedSetIntoANewNamedSet.js
The example script is showing how to copy content of a named set into a new named set. A set named “mySet” is copied. In this example the set is mirror copied. Note that the space in which you are copying the new set cannot already be occupied by existing structure.