The optimal functionalities of materials often appear at phase transitions involving simultaneous changes in the electronic structure and the symmetry of the underlying lattice. It is experimentally challenging to disentangle which of the two effects--electronic or structural--is the driving force for the phase transition and to use the mechanism to control material properties. Here we report the concurrent pumping and probing of Cu