code: function clone(arr) {
                	var newArr = [];
                	for (var i=0; i<arr.length; i++) {
                		newArr.push(arr[i]);
                	}
                	return newArr;
                }
docs: Gets a shallow copy of the given array.