You can understand it as electroplating if you wish - though it's probably not the conventional name.
Two distinct electrodes, of copper and iron, in a copper thingyate electrolyte, would already make a voltage in the proper direction for electroplating to occur if connecting them, without external power. So much, that an external circuit isn't necessary: a lone iron electrode gets a copper deposit.
This spontaneous deposition must be avoided if willing to build a primary or secondary battery: it corresponds to self-discharge. Not easy.