For individual IMAP accounts, you can copy the relevant sent, deleted, cur, etc folders to the mail directory of your cPanel account or you can use ImapSync as @wlanboy suggested.
I've used it many times for email migrations where I did not have access to the source files, it does a good job...