Remove Avast from your current PC and install it on the new PC.
Then insert your license file.
If you’ve lost it : https://www.avast.com/en-gb/resend-license-paid.php