How do you hook up a simple on off switch?

I have a battery operated light. It currently have an on/off switch on the side of it. I want to extend the switch 4 feet away. Can I just get 4' of wire and ad a switch or toggle at the end? Is there a certain switch I need for battery operated lights? Is the voltage important in this case? Help!!!!!!!!!!!!!!!!!!
7 answers 7