. . . or perhaps you could:
1) export A
2) rename A as B
3) import A

but it will play merry hell with any dependencies.