I've used CloneZilla many times and it never failed me. Best thing about it is it's free
and open source.
For your scenario, you can remove the original hard drive and put it in a USB enclosure, install the replacement HDD into the main drive bay of the W510, boot the computer via a CloneZilla media (can be a USB flash drive or CD), and clone the original HDD to the replacement HDD.
(The suggestion to put the replacement drive in the main drive bay and original drive in an external enclosure, instead of the other way around, come from many forum members.)
Or, equally easily, you can clone the original hard drive to an image file, and later restore this image file to any number of hard drives you wish.