Description Copy files and directories. Syntax cp [OPTION]... SOURCE... DIRECTORY Practical uses cp -a: Archive mode, preserve all permissions, links, attributes and so on. cp -i: Prompt before overwrite (overrides a previous -n option). cp -r and cp -R: Copy directories recursively. cp -u: Copy only when the SOURCE file is newer than the destination file or when the destination file is missing.