code: function(sourceLocation, targetLocation, name) {
  			var that = this;
  			if (sourceLocation.indexOf(this._rootLocation) === -1 || targetLocation.indexOf(this._rootLocation) === -1) {
  				throw "Not supported";	
  			}
  			
  			return this._getEntry(sourceLocation).then(function(entry) {
  				return that._getEntry(targetLocation).then(function(parent) {
  					var d = new orion.Deferred();
  					entry.copyTo(parent, name, function() {d.resolve(that.read(targetLocation + "/" + (name || entry.name), true));}, d.reject);
  					return d;
  				});
  			});
  		}
docs: Copies a file or directory.
  @param {String} sourceLocation The location of the file or directory to copy.
  @param {String} targetLocation The location of the target folder.
  @param {String} [name] The name of the destination file or directory in the case of a rename