Bulk transfer aliases from one Mailbox to another one

Let’s say I have 50 aliases that are owned by Mailbox A. I just created Mailbox B and I would like to bulk transfer the ownership of the 50 aliases to the newly created Mailbox B.

These two mailboxes belong to the same account.