I created the file using the /scripts/pkgacct command, but reading topics on this board, I've seen there is an option in WHM called "Copy an account from another server".
Can you tell me which solution is better to migrate my website to another server ? (my website is a board)
Both methods utilize the same method of packaging and restoring the account. The transfer tools in Web Host Manager make the process a little easier because it automatically backs up the account and restores it on the destination server.