fix the memcpy_vector function