How can I copy a string[] from another string[]?
string[]
Suppose I have string[] args. How can I copy it to another array string
string[] args
string
Allocate space for the target array, that use Array.CopyTo():
targetArray = new string[sourceArray.Length]; sourceArray.CopyTo( targetArray, 0 );