Vector copy and const versions.