In short: how do I transfer a Windows 10 Home edition from an internal HDD to a newly installed M.2 SSD?
Notice that the new installation would NOT be in the same port. This is a laptop with two internal hard drives. The other answers are about replacing the drive into the same slot.
Details: given a Lenovo laptop with a 500 GB, 7200 RPM, 2,5", SATA3 and Windows 10 Home on it, I'd like to install a secondary internal 256GB, M.2 2280, NVMe, Opal 2.0 on it and run Windows 10 from it. There's also a Linux installation on the HDD but there's no real need to transfer this too and I believe it won't be a headache.
All the files in the HDD are less than 100GB.
Could I just boot into a Linux live CD and clone byte by byte the internal HDD into the SSD?
Does Windows have some official tool for that?