Copy content preserving attributes of /foo to /bar:
/foo
/bar
rsync -aXHA --info=progress2 --stats /foo/ /bar/bar