We moved a gas dryer in my house. We capped the line where it was, and tee'd the line where it needed to be. Actually, we did the same thing for our stove now that I think of it. It's easier than you'd think, but you'll want to make sure everything is done to code, especially when installing a new appliance.