It should work as you described. However, I'd prefer a slightly more complex way:
1) Clean up the HDD and trim it to SSD size (only if need).
2) Make a full system backup on the external drive (e.g. USB HDD).
3) Connect SSD and restore this backup to it.
4) Switch the boot device.
So, you can...