function cp
unstable
Jump to headingcp(): Promise<void>Asynchronously copies the entire directory structure from src to dest,
including subdirectories and files.
When copying a directory to another directory, globs are not supported and
behavior is similar to cp dir1/ dir2/.
Parameters Jump to heading
Jump to headingsource: string | URLJump to headingdestination: string | URLoptional
Jump to headingopts: CopyOptionsReturn Type Jump to heading
Promise<void>Fulfills with undefined upon success.