Dynamics versus replicas in the random field Ising model