PC File migration

I've been using Turbo Tax on my Windows 10 PC for years.  Just bought a Windows 11 PC.   The old files migrated from my old PC to my new one.  I can see these prior year files.  When I buy and then load the 2025 program will prior year information automatically populate the new version?  I tried to install the 2024 version, but the license code was not accepted.  Please help.