FilesystemFunction: copyFile()On this pageFunction: copyFile() copyFile(path, newPath): Promise<void> Copies the source file into the target. Parameters path string Source path. newPath string Target path. Returns Promise<void>