copyArray.ys finished and works