Dynamical versus statistical production of Intermediate Mass Fragments at Fermi Energies