Function: cpFile()
cpFile(
originFilePath,targetFilePath):Promise<void>
Copies a file from the originFilePath to the targetFilePath.
Parameters
originFilePath
string
The path of the file to be copied.
targetFilePath
string
The path where the file should be copied to.
Returns
Promise<void>
A Promise that resolves when the file is successfully copied, or rejects with an error.
