the right way to copy a whole directory