So I am trying to set a variable as an array, what I mean by that is copying one array to an empty blank one. I've looked around a bit and can't seem to find exactly what im looking for. Here's an explain of what im typing in but it's not working. var exArray = [Floor1, Floor2] var Array2 = exArray

That is what im trying to do. I know that way won't work but im trying to figure the right way, so I can copy this array

Nevermind that does work! My problem was the fact that it was getting a null for the variable and I had to put an if statement in first to make sure it worked!!

Thanks for following up with the solution.

3 years later