COPIA INDEPENDIENDE Array Javascript

var bar = foo.slice();
Energetic Echidna