The molecules of water have more energy than the molecules of ice at the same temperature, this is because as ice is melted to the liquid state, ice absorbed energy which is used in breaking the inter particles forces between the ice and hence water molecule have more kinetic energy. So at same temperature water molecule has more energy.