Added a copy function to Vec2