2023 has a "migration" option as part of the first-start option, you would use that: you should have seen the exact same thing when you installed 2022, did you not?
Also like your 2022 installation that you can look at right now, 2023 will also have a MIGRATE FROM AN OLDER VERSION tool found under your Windows Button that you can use later if you missed the startup option.
The only caveat: 2022 and 2023 need to be both running on the same computer for the migration between versions tool to work.
If you are on a MAC.. you are in the wrong forum but I suspect it might be similar, you'll have to confirm in that MAC forum for sure.
HTH