Do you want to upgrade your hard drive or SSD (Solid State Drive)?
You will need to use the right tool that will do the job.
I had to upgrade one of our laptops Sony Vaio Duo and the problem with that one is that Sony created 7 partitions and a couple of tools were able to migrate the data but I could not boot the machine. The problem is that lot of tools are not copying the boot records which makes them unusable for this case.
I did a bit of research on my own and found out that I can do that with AOMEI Backupper and AOMEI Partition Assistant for free too.
Here is the article that explains how to clone the disk:
NOTE regarding the Free offer: if you want to do all this for free just ignore the offers for Pro trials and continue to use the free version. In case you switch to the Pro trial version you will be asked to pay for those features.
Featured image source: https://www.ubackup.com/help/disk-clone.html