This is always a challenge, and will be much more so in the windows 11 world.
Microsoft officially recommends a reinstall, like the previous person suggested, and there are many valid reasons for this (to not transfer OEM recovery partitions for example).
But the problem with that is that it could be challenging if you don't have all your software installers and licenses available not to mention time consuming.
If you're an advanced user, and can reduce the size of your files or pass most media stuff elsewhere, I'd recommend something like this software:
https://www.paragon-software.com/free/br-free/#
It's free and all you need to do is install it, create a bootable restore disk, and then boot from there and restore to the...