B2G/gecko/toolkit/mozapps/extensions/XPIProvider.jsm
/**
   * Copies a file or directory into a new directory. If an error occurs then
   * all new files that have been created will be removed.
   *
   * @param  aFile
   *         The file or directory to be copied.
   * @param  aTargetDirectory
   *         The directory to copy into, this is expected to be an empty
   *         directory.
   */
Copies a file or directory into a new directory. If an error occurs then
all new files that have been created will be removed.

@param  aFile
The file or directory to be copied.
@param  aTargetDirectory
The directory to copy into, this is expected to be an empty
directory.
Copies a file or directory into a new directory . If an error occurs then all new files that have been created will be removed . @param aFile The file or directory to be copied . @param aTargetDirectory The directory to copy into this is expected to be an empty directory .
function SIO_copy(aFile, aTargetDirectory) {
    try {
      this._installDirEntry(aFile, aTargetDirectory, true);
    }
    catch (e) {
      this.rollback();
      throw e;
    }
  }
function SIO_copy ( aFile , aTargetDirectory ) { try { this . _installDirEntry ( aFile , aTargetDirectory , true ) ; } catch ( e ) { this . rollback ( ) ; throw e ; } }
Copies a file or directory into a new directory.
Copies a file or directory into a new directory .