Recommended way to move data when changing hard drive in a Mac
I assume you purposing making a Time Machine backup to a external third drive then use the Migration Assistant to restore from this backup. Another option would be to put the old drive in a shell and plug into a USB port. You could then just use the Migration Assistant to restore after a fresh install of macOS to the new SSD.