fix vector `copy`