copy function
Copy the values from one vec2 to another
@param {vec2} out the receiving vector @param {ReadonlyVec2} a the source vector @returns {vec2} out
Implementation
List<double> copy(List<double> out, List<double> a) {
out[0] = a[0];
out[1] = a[1];
return out;
}