Partager via


Array.Copy Method

Copies a specified range of objects from an array to another array and performs type casting and boxing, as required.

Overload List

Name Description
Array.Copy (Array, Array, Int32)

Copies a specified range of objects from an array (source array), starting at the first object in the array, and pastes them into another array (destination array), starting at the first object in that array. You specify the length of the range to be copied as a 32-bit integer.

Array.Copy (Array, Int32, Array, Int32, Int32) Copies a specified range of objects from an array (source array) and pastes them into another array (destination array). Copying starts at the specified index number in the source array; pasting starts at the specified index number in the destination array. You specify the length of the range to be copied and the starting index numbers for the range in both the source and destination arrays as 32-bit integers.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Array Class
Array Members
System Namespace