Do you only want to transfer the members, or the posts and settings as well?

It is not recommended to upgrade and transfer at the same time, so you should first upgrade your 5.47 board to UBB6 and then do a new install of UBB6 on the new domain and transfer the Members directory from domain A to domain B.