I want to move my electric dryer. The circuit is 240v 30 amps. Am I allowed to use a junction box (leaving it accessible)? The aim is to not have to redo the complete run of cable. Wire is 10-3 (Black, Red, White, Bare).

Location is Quebec, Canada.