In WHM, you can restore a full backup as a duplicate of an existing account.
Three simple steps to duplicate a cPanel account into another domain.
1. Make a full cPanel backup of the first account. Log in as root and execute the command below. You can
#> /scripts/pkgacct cpanel_user
****** This will be saved in /home/cpmove-cpanel_user.tar.gz
2. Change the domain and username of the first account. This will become the new or duplicate account.
Go to WHM ->> Account Functions ->> Modify an Account
Select the account/domain to copy. Enter or replace username and domain with the new/second domain.
3. Restore the cPanel backup of the first account (created in step #1 above), and you now have both duplicate accounts.
#> /scripts/restorepkg cpanel_user /home/cpmove-cpaneluser.tar.gz
****** This will restore the account from cPanel backup in the home directory