The light from the headlight would move -- you guessed it -- at the speed of light, regardless of the speed of the train.
So, if we were to measure the speed of the train plus the speed of the light, from a fixed reference on the train track, the total speed would equal... Not terribly intuitive is it?