Easiest way to move the Windows partition from a hard drive to a smaller SSD?

So I'm thinking about getting a SSD for all of my computer programs (CAD software, stuff that takes up gigabytes upon gigabytes). But I was wondering if there's a way to just move my Windows partition over to my SSD without having to reinstall Windows. Especially because it would take several days to reconfigure Windows to my liking.