Javascript Copy An Array Without Reference