Possible Duplicate:
What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?
When to use copyto() and Clone().. is there any scenarios to use? i know Clone() always return object.. so we need cast..
Possible Duplicate:
What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?
When to use copyto() and Clone().. is there any scenarios to use? i know Clone() always return object.. so we need cast..
...to boldly (and italically in this case) ask what other developers have asked before... ;-)
Difference between the System.Array.CopyTo() and System.Array.Clone()
Depends what your trying to do, Copyto() will add to an already existing array, whereas Clone() will make a duplicate.
Assuming you have asked question with respect to arrays,
The Clone() method returns a new array (a shallow copy) object containing all the elements in the original array. The CopyTo() method copies the elements into another existing array.
when you want to copy the elements from one array to another existing array you can use CopyTo() else use Clone().