I am trying to copy an Array(of Class) to another Array(of Class). The Class really just holds 3 values together, so it's basically a string. I thought just something like this would work
Code:
Dim Array1 as Array(of Class) = Array2
'also tried
Dim Array1 as New Array(of Class)
Array1 = Array2
But that literally makes Array1 access the contents of 2, but I want it to be a separate copy. I'm currently using a simple loop procedure to copy contents but I was hoping there was a command for it. I looked at .Item but there didn't seem to be anything there. Anyone have a solution?