Notebook crashed - how do I transfer to a new hard disk without using a license

Am replacing a hard disk in Windows XP. I have a three computer license and don’t want to use one when I reactivate Avast.

Install the license only the other two computers.
The last license will be valid to be used in the third computer in the future (until the license period).