// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
<summary>Copies a range of elements from an <see cref=""T:System.Array"" /> starting at the first element and pastes them into another <see cref=""T:System.Array"" /> starting at the first element. The length is specified as a 32-bit integer.</summary>
<param name=""sourceArray"">The <see cref=""T:System.Array"" /> that contains the data to copy.</param>
<param name=""destinationArray"">The <see cref=""T:System.Array"" /> that receives the data.</param>
<param name=""length"">A 32-bit integer that represents the number of elements to copy.</param>
<paramref name=""sourceArray"" /> and <paramref name=""destinationArray"" /> are of incompatible types.</exception>
<exception cref=""T:System.InvalidCastException"">At least one element in <paramref name=""sourceArray"" /> cannot be cast to the type of <paramref name=""destinationArray"" />.</exception>
<paramref name=""length"" /> is less than zero.</exception>
<exception cref=""T:System.ArgumentException"">
<paramref name=""length"" /> is greater than the number of elements in <paramref name=""sourceArray"" />.-or-<paramref name=""length"" /> is greater than the number of elements in <paramref name=""destinationArray"" />.</exception>