Copy one vectors values to another.
Target to be copied from.
The destination object.
const result = { x: 0, y: 0 };copy({ x: 3, y: 4 }, result); // result -> { x: 3, y: 4 } Copy
const result = { x: 0, y: 0 };copy({ x: 3, y: 4 }, result); // result -> { x: 3, y: 4 }
Copy one vectors values to another.