mv moves a file or directory from one location to another.

ex:
"cp foo bar" renames the file "foo" to "bar".
"cp foo bar/foo" moves the file "foo" to a folder called "bar".