If you want a secure migration of emails, then using the PST format will be a better choice for you. This is because PST files can be moved and backed up easily, regardless of whether you have the initial Exchange or IMAP account.
I had this problem when replacing an office laptop. There were...