I've had pretty good success with Claude doing this even two years ago.
I have an extremely dodgy home server where I needed to move the OS from the eMMC to an SSD connected to the WiFi card port. Obviously had a lot of problems with partitions and cloning but it got there in the end.