Transitioning from scalar to vector

Given you wanna assign to the 2nd p5.Vector v2 the values of the 1st p5.Vector v1 you could simply use the method p5.Vector::set() for it:

const
  { x, y } = v1,
  u = y + x*2,
  v = x - y*4;

v2.set(u, v);