• Remove the old system from your account
  • Wait e.g. 3 hours (it can take a while before changes take affect)
  • Perform a clean installation of avast on the new system
  • Use your license file

Please (re)search before posting as things like this have been explained many times before.