Galvanic corrosion also called bimetallic corrosion or dissimilar metal corrosion is an electrochemical process in which one metal corrodes preferentially when it is in electrical contact with another in the presence of an electrolyte.
Galvanized steel sheet electrolysis.
This is not to say that no form of corrosion will ever occur though.
If zinc and or other coat metals get into the electrolyte they will form compounds which in their turn will contribute alloyed metals to the cathode some plating of the iron object being de rusted may occur.
Galvanized steel sheet plates are intended for use where greater corrosion protection is required without painting.
The galvanized steel anodes should not be used in electrolysis.
A lower cost alternative to stainless steel galvanized sheet and plates have a rust free protection for up to 30 years while maintaining strength with a durable surface coating.
If you break the conductive metal circuit between the copper and galvanized pipe galvanic corrosion electrolysis does not occur.
Hot dip galvanized steel is well suited for use in a variety of environments and fabrications and sometimes is placed in contact with different metals including among others stainless steel aluminum copper and weathering steel.
The presence of two dissimilar metals in an assembly is not always a sign of trouble but it could be a problem.