rem: if(!aSource || !aDest) { 
add: if (!aSource || !aDest) { 
context: copy  : function (aSource, aDest) {  if(!aSource || !aDest) {    jslibError(null, "(no path defined)", "NS_ERROR_INVALID_ARG", JS_FILEUTILS_FILE+":copy");    return null;  }  if(!this.exists(aSource)) {    jslibError(null, "(file doesn't exist)", "NS_ERROR_UNEXPECTED", JS_FILEUTILS_FILE+":copy");    return null;  }  var rv;  try {     var fileInst      = new JS_FILEUTILS_FilePath(aSource);    var dir           = new JS_FILEUTILS_FilePath(aDest);    var copyName      = fileInst.leafName;    if(fileInst.isDirectory()) {      jslibError(null, "(cannot copy directory)", "NS_ERROR_FAILURE", JS_FILEUTILS_FILE+":copy");      return null;    }    if(!this.exists(aDest) || !dir.isDirectory()) {      copyName          = dir.leafName;      dir               = new JS_FILEUTILS_FilePath(dir.path.replace(copyName,''));      if(!this.exists(dir.path)) {        jslibError(null, "(dest "+dir.path+" doesn't exist)", "NS_ERROR_FAILURE", JS_FILEUTILS_FILE+":copy");        return null;      }      if(!dir.isDirectory()) {        jslibError(null, "(dest "+dir.path+" is not a valid path)", "NS_ERROR_FAILURE", JS_FILEUTILS_FILE+":copy");        return null;      }    }    if(this.exists(this.append(dir.path, copyName))) {      jslibError(null, "(dest "+this.append(dir.path, copyName)+" already exists)", "NS_ERROR_FAILURE", JS_FILEUTILS_FILE+":copy");      return null;    }    rv=fileInst.copyTo(dir, copyName);    rv = C.results.NS_OK;  } catch (e) {     jslibError(e, "(unexpected error)", "NS_ERROR_UNEXPECTED", JS_FILEUTILS_FILE+":copy");    rv=null;  }  return rv;},
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/04c62db497a7a78bdddf378f4341134b12b61c5a/fileUtils.js/clean/calendar/resources/content/jslib/io/fileUtils.js