To clarify some more, I attached some screenshots below to show the entire Migration flow.
After you click on the Migration button, you will go through a step-by-step wizard before the actual migration happens. There are couple different options, e.g. you can migrate code only, migrate code and devices, delete the model after migration, receive an code archive and etc.
You will receive an email notification when the migration is completed.