Depends, in most cases your new credit card provider would sort that out, but you need to provide the details of your bank to your new credit card provider to allow them to do this.
It might be useful to contact your current provider to find out what your final balance would be before arranging the balance transfer.
You might also want to contact your old credit card provider to cancel your old card once the balance transfer is complete to avoid paying the annual fee if applicable.