Numpy Copy Array Values Javascript Interview