Use the following example to search for A's mailbox and copy the search results (mail items) to B's mailbox (in the Pub folder)
Search-Mailbox –Identity "A" -TargetMailbox "B" -TargetFolder "PUB" -LogLevel Full
Use the following example to search for A's mailbox and copy the search results (mail items) to B's mailbox (in the Pub folder)
Search-Mailbox –Identity "A" -TargetMailbox "B" -TargetFolder "PUB" -LogLevel Full