For a desktop you might use the clone app and system by the SSD maker.
For a laptop I use a kit. What do you have?