Cp
NAME
cp - copy files and directories
DESCRIPTION
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
Mandatory arguments to long options are mandatory for short options too.
SYNTANX command for cp
cp [options] source directory destination directory cp Srce_file Dest_file
SYNOPSIS
cp [OPTION]... [-T] SOURCE DEST cp [OPTION]... SOURCE... DIRECTORY cp [OPTION]... -t DIRECTORY SOURCE...
ARGUMENTS
-a, --archive same as -dR --preserve=all
--attributes-only don't copy the file data, just the attributes
--backup[=CONTROL] make a backup of each existing destination file
-b like --backup but does not accept an argument
--copy-contents copy contents of special files when recursive
-d same as --no-dereference --preserve=links
--debug explain how a file is copied. Implies -v
-f, --force if an existing destination file cannot be opened, remove it and try again (this option is ignored when the -n option is also used)
-i, --interactive prompt before overwrite (overrides a previous -n option)
-H follow command-line symbolic links in SOURCE
References:
https://www.freecodecamp.org/news/the-linux-cp-command-how-to-copy-files-in-linux/