Magnetic ordering and fluctuations in the S=1/2 square Heisenberg antiferromagnet Cu(DCO2)2.4D2O