Javascript Array shallowCopy()
shallowCopy()
Array.prototype.shallowCopy=function() { return this.slice(0); };