Does the = sign in the equation E=mc2 mean
that energy and light are equivalent
No, it says that matter and energy are equivalent. They are related by a constant factor, which is the speed of light squared.
Light does have energy, but there are many other forms as well.