@kantamaru267 I think you can just copy the files over to your newly created mailbox directory
The mailboxes are located (in my case) at
/var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data/
the actual mailbox dir is located at domain/user/Maildir/
Maybe try it first with a test mailbox