The command cp -hpPr seems to do the trick