In Solution,
Copper is in equilibrium:
Cu <=> Cu2+ + 2electrons
the equilibrium lies far to the left, so when you and react it with HCL solution, (effectively a redox reaction where electons are transfered), it does react. This is because H+ takes away the electrons and the equilibrium moves right.