Fix the copy function of NumpyVector