Javascript String copy()
copy()
String.prototype.copy = function() { return this.substring( 0, this.length ); };