What are the specs of your old system, and the proposed new?
There are several issues involved.
Win 7 on your new system is likely to be a problem.
New systems do not include support for windows 7.
It really is best to do a clean install of windows on the new pc.
But, if that task is really nasty or impossible, you can try to move the system.
You could perhaps resolve that by first upgrading windows 7 to 10.
It is unlikely that your old processor can be supported easily by win 11.
First of all, protect yourself.
I would use the samsung ssd migration aid to copy your C drive to a ssd.
Download Samsung Magician, tools & software for Samsung SSDs, Data Migration Software, Firmware, Driver, Data Center Toolkit, Activation Software.
semiconductor.samsung.com
Remove your old C drive and set it aside for a backup.
Do all your work on the new ssd. You will probably need to use a 2.5" ssd but performance, even on a new system will be comparable to modern pcie m.2 drives.
If the new system will boot with the old ssd, then you may be ok simply by installing the new motherboard drivers.
If the change is from intel to intel, or amd to amd, then your chances of success are better than a mixed change.
I have found that a free win 7 classic shell app does a good job of making windows 10 look a lot like the old 7