1. I created Copay wallet. It contained 1 address (AAAAA).
2. I sent 8 BTC to AAAAA
3. Then I sent 0.001xxx BTC from AAAAA to Byteball
4. What Copay did:
a) They sent 0.001xxx BTC from AAAAA to Byteball
b) They sent 0.05 BTC from AAAAA to BBBBB (I never did this transaction - it's done automatically for what ever reason)
5. Now I have two addresses in my Copay wallet (AAAAA with 7.949 BTC + BBBBB with 0.05 BTC)
6. How do I get the BTC from BBBBB to AAAAA?
I hope this makes it clear.
This is not correctly. You could not have put in 8 btc and only sent out .05.
There has to be input and output.
So, I think you have several small transactions going into AAAAA and the wallet app took the closest matching which was close to the TX you wanted to make. it was done and then a fee was paid and the rest of the change went back to another address.
What is the Transaction ID for your step 3?