I agree all information given by LYK. By the way, credit card company B do not have a "shop" machine to swipe you card A.
Banker are too smart to take money from us.
I can not recall my mind toally of a news read few months ago. Gentleman in Taiwan, he make HK$700,000 profit Stardard Chartered Bank when this bank putting a program with other local Taiwan bank. I remember he made profit by Money Transfer his money from bank A at Taipei to bank B account at other place in Taiwan. Then put the money back to bank A and do that again and again.