cmd cp code example
Example 1: cp command
cp [OPTION] Source Destination
cp [OPTION] Source Directory
cp [OPTION] Source-1 Source-2 Source-3 Source-n Directory
First and second syntax is used to copy Source file to Destination file or Directory.
Third syntax is used to copy multiple Sources(files) to Directory.
Example 2: copy command in cmd
COPY "filename" /Y
to overwrite the file in destination