more fixes to vector_copy script