copiar valor variável javascript
//value
var myValue = someValue;
//array
var myArry = JSON.parse(JSON.stringify(someArr));
//take object property value in variable
var myValue = object.someProperty; //property value
JS Ninja