# cp

say it: **“SEE-PEE”** **/ˌsiˈpi/**

Copies files; \`-r\` copies folders.

## What does `cp` do?

`cp` copies files. Add `-r` to copy a folder and everything in it.

```bash
cp recipe.txt recipe-backup.txt
cp -r photos photos-backup
```

Level: Novice · [More Unix terms at this level](https://www.ask-codey.com/glossary?category=unix&level=1)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/cp
