You will have to install the 2022 TurboTax software on the new computer, either using the CD or Download.
Then you will have to copy the contents of the TurboTax folder in the Documents directory on the old computer to the new computer.
See this TurboTax support FAQ - https://ttlc.intuit.com/turbotax-support/en-us/help-article/data-systems/move-tax-data-file-another-computer/L5fFkMkhr_US_en_US?uid=lr2c6mzm