I'm installing a new light switch and box. The new box is slightly deeper than the old one and now the wires don't reach the switch, so I need to extend them around 6 inches. What is the best way to extend the wires, solder and heat shrink, twisted wire connectors, or are both OK?

Thanks...