Array copy allows you to copy part of 1st array to the 2nd.
VB.NET:
Array.Copy(Array1,Array2)
'Copies the entire contents of array1 to 2
Array.Copy(Array1,Array2,2)
'Copies the first 2 elements
Array2 = Array1.Clone
'Clones the array
This should work with multi dimensional arrays as well
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.