Are you kidding me? Tell me at least that it's a fairly new method that MS snuck in when I wasn't looking. Yes, of course we should move to that and simply get rid of the whole Copy thing altogether. Except there are a few rare situations where I think it's doing just a bit more, and I would worry about introducing a bug. Like in ClaimForm, where it also copies the array of attached items.
I noticed this problem a while back and I agree that we should be using this basic object level functionality.
In response to Dr. Sparks, we can still use complicated copy functionality by overriding the Clone() function in the specific situations that require it.
For instance:
jordansparks wrote:Are you kidding me? Tell me at least that it's a fairly new method that MS snuck in when I wasn't looking.
To your defense, it is a protected member of the object class, so it isn't obvious at all this method exists. For "deep" copies, grahamde's solution is perfect.