cp, mv, ownership and attributes

I’d always hear that mv is basically a cp followed by an rm. That’s mostly true, but mv uses a cp command with some optional flags to preserve ownership, attributes, and SELinux context.