How to copy one full user directory to another?

Hello,

If I have /home/user1

user1 contains a public_html directory, which in turn contains many PHP files and a PHPBB forum (with lots of nice MySQL databases.)

I want to copy the entire contents of /home/user1 to /home/user2 (except for quota or password information.)

How would I do this? I assume a simply cp -fR /home/user1 /home/user2 would not work.

I use WHM and I have a my own dedicated server.

Any advice?

Thank you.

 

 

 

 

Top