Since the speed of light in a vacuum is invariant and has the value of 299,792,458 m/s, we would measure this value of 299,792,458 m/s for the speed of light from the star as it arrives on Earth.
Initially, the experiment has only potential energy (since total energy is the sum of kinetic and potential energy). And at the end, the experment has only kinetic energy.