title: How to create a copy of a Data Model
body: <p>In my program I am trying to make a copy of a Data Model so that I can set it as the Data Model of another User Control.</p>
  
  <p>So far I have tried setting the new Data Model to the Data Model that I want to copy, but all that did was aim both User Controls to the same Data Model.</p>
  
  <p>An example of what I did:</p>
  
  <pre><code>newUserControl.NewDataModel = oldUserControl.OldDataModel;
  </code></pre>
  
  <p>How do I make a copy of a data model so that I can set it as the Data Model context of another User Control, without making the UCs aim at the same Data Model?</p>