It mainly depends on whether the ICBC in your area has opened the inter-bank transfer service. If it has, you can use the ATM machine or go to the lobby to transfer money to the China Merchants Bank credit card.
Online banking and normal UnionPay ATM machines are the same. If the ATM does not support it, online banking will not work either.
For details, you can call the ICBC service hotline: 95588.