title: I need to clone a list
body: <p>I have a list originalDailyDetailReport that I need to clone. The data in it will be changed during the application, but when I'm printing the final reports, I do need the original data.</p>
  
  <p>I though this bit of code should do the trick, but in the end, my duplicateDailyDetailReport list, that I only use to print the reports, is changed.</p>
  
  <p>Any ideas?</p>
  
  <pre><code>    public DailyDetailReports SaveOriginalDailyDetailReportData(DailyDetailReports originalDailyDetailReport )
              {
                  DailyDetailReports duplicateDailyDetailReport = new DailyDetailReports();
  
                  try
                  {
                      duplicateDailyDetailReport.Rec.AddRange(
  originalDailyDetailReport.Rec.ConvertAll&lt;Receivables&gt;(rec =&gt; rec));
  
      duplicateDailyDetailReport.Dil.AddRange(
  originalDailyDetailReport.Dil.ConvertAll&lt;Dilution&gt;(dil=&gt; dil));
  
      duplicateDailyDetailReport.Acc.AddRange(
  originalDailyDetailReport.Acc.ConvertAll&lt;Accountable&gt;(acc =&gt; acc));
                                  duplicateDailyDetailReport.Out.AddRange(
  originalDailyDetailReport.Out.ConvertAll&lt;Outstanding&gt;(o =&gt; o));
                                  }
                                  catch (Exception ex)
                                  {
                                      MessageBox.Show(ex.Message);
                                  }
  
                                  return duplicateDailyDetailReport ;
                              }
  </code></pre>