there used to be software years back and you could buy cable to go with it it would transfer files and installed programs.
Te only real way to do it is with imaging software with disimmilar hardware restore you just cannot backup windows partition with all your software and restore it onto compleately different pc, different hardware different drivers we are not talking about imaging full hard drive plus all partitions to larger hard drive or sdd to just swap or upgrate your current pc.
and I am not advertising but just info here
How to Move Windows 10 to A New Computer with Dissimilar Hardware?
personally I have used acronis.