First I tried cp -Rp to preserve ownership of copies files. That changed the ownership from root:wheel to myuser:staff. So then I tried rsync and ditto. All of these are supposed to preserve the ownership, but they do not. They change it to myuser:staff. All commands used with sudo.
sudo cp -Rp /sourcefiles/ /destfiles/
What am I missing?