title: How do I to create a copy of a custom object or collection?
body: <p>I have a custom collection - let's call it <code>colParentA</code> - and it contains a number of collections called <code>colChild</code>.  I want to create a function that creates a new collection, <code>colParentB</code> that has all of the properties and contains the same children as <code>colParentA</code>.  The user can then modify the few properties of <code>colParentB</code> that they need to, rather than having to redefine ones that are the same as <code>colParentA</code>. </p>
  
  <p><code>colParentB</code> should also contain new instances of <code>colChild</code> that are copies of those found in `colParentA.</p>
  
  <p>I can't just do this right?</p>
  
  <pre><code>set colParentB = colParentA
  
  colParentB.Name = "Copy of " &amp; colParentA.Name
  </code></pre>
  
  <p>Because this just makes <code>colParentB</code> point to <code>colParentA</code> and changes the properties of <code>colParentA</code> as well right? </p>
  
  <p>I'm confused. Thanks for you help in advance.</p>