Read the guideline before start
Write an app in app.js
file, that will copy a file from one specified location to another like
Linux cp command: cp file.txt file-copy.txt
.
- It must do nothing in case the user is trying to copy to the same location.
- The app must support only copying of files, and no additional options (flags). Plain copying of files.
- Throw an error with the console.error() command
If you haven't installed a specific Node.js version, you can manage multiple Node.js versions on your machine using tools like nvm (Node Version Manager) or (Node.js version management). Ensure that the selected Node.js version aligns with the specified minimum version before proceeding with the project setup.