I buy a new harddrive

I bouth and install a new harddrive, when i installed on new hard disk antivirus say that my computer is a new and i need a new license but a have alrady on my last harddrive. Help me if u understand)))

Remove avast from the old one.
Remove avast from your account. > https://my.avast.com
Download your license file and use it on the new one. > https://www.avast.com/resend-license-paid.php