It's easier to write
intArray1.CopyTo( intArray2, 0 )
than the for-loop equivalent, but System.Array
does not provide any generic Copy
/CopyTo
methods.
Is it better to write the for-loop? Or is using Copy
/CopyTo
compiled or JIT'd efficiently enough?