I tried that once, the issue is making a good connection between the two, use wire-nutes that look like this and you won't go wrong:
Oh and Home Depot sells them, or you can get them online. Just match the colored wires and your set, I used these for a 400w HPS I rigged and they never failed.