Consider the situation shown in the figure. The capacitor A has a charge q on it whereas Bis uncharged. The charge appearing on the capacitor B a long time after the switch is closed is:
The charges appearing on the inner surfaces of A, are bound charges. As B is uncharged initially, as it is isolated, the charges on A will not be affected on closing the switch S. No charge will flow in to B.