The function of credit card is mainly consumption and cash withdrawal, and transfer is not within its function scope. So you can't transfer money directly by credit card.
If you need to transfer money, it is recommended to use a savings card or other payment platform. At the same time, when using credit cards, we should also pay attention to rational use and avoid unnecessary interest and expenses.