For copying arrays, you can use functions like memcpy_s[^] and CopyMemory[^]. These functions require you to know the size of the array. In C++, ideally you should be using the STL containers like vector, list etc. and then you can use the copy[^] function to make a copy of a container using iterators as shown in the example in the documentation.
«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++)