Copies a file or a directory from the source path to the destination path asynchronously.
If the source is a directory, its entire contents will be recursively copied.
Parameters
src: string
The source path of the file or directory to be copied.
dest: string
The destination path where the file or directory will be copied.
Returns Promise<boolean>
A Promise that resolves to true if the file or directory is copied successfully, or false if it doesn't exist.
Copies a file or a directory from the source path to the destination path asynchronously. If the source is a directory, its entire contents will be recursively copied.