Make a copy of array