fs.copyΒΆ

boolean success fs.copy ( string source , string destination )

Copy a file or directory into a destination directory

Arguments:

  • source the source file or directory
  • destination the destination directory

Return:

  • success true if the source was successfully copied