Switching a mirror to fully hosted with mirrored content?

Say I have two sites, A and B. Currently A runs wordpress and B mirrors A.

I want B to now be fully hosted as well – and to have the content A had; I want A to have a fresh Wordpress installation with new content.

Any idea what the best way of doing this is? Thanks.