The speed of light, according to an authority, is 299,792,458 m/s.
Let's round that to 300,000,000 m/s simply for our convenience.
To the observers in the spaceship, the light from their headlamps would appear to travel 300,000,000 m/s.
That's because the spaceship and everything in it are shortened by their speed. So it still looks like 300,000,00 m/s to them, because the meter stick they're measuring it with is shorter than it would be if they were standing still.
I have one for you to think about. If that spaceship were the ONLY thing in the entire universe, would it be moving or not? How would you know?
.