Change email server with same address and keep old emails in the client.?

I need to change email server to a different one. If I just change the account then I lose all old emails (imap) Can I use the offline feature and have the old and continue with the new account?

Just copy the emails to Local Folders before removing the old IMAP account. Then once you have the new account in place, you can move the emails to that account.

I tried that but the emails was not copied… Maybe a issue or a “feature”

Was me not looking at the sub folder that was not showing… Thanks “solved”