You should be very careful. You can actually cause your pipes to leak by doing this. The best bet is to replace that section with some PEX which is plastic and won't corrode.
See this website for answer: http://www.cleanwaterstore.com/copper-pipe-corrosion.html
Copper is used as hot water pipes because the copper will not corrode when the hot water goes through the pipes
Copper is used as hot water pipes because the copper will not corrode when the hot water goes through the pipes
Copper
Copper
Copper Wire, Copper Water Pipes, Pennies,
Electrolysis in plumbing affects the copper pipes used. If electrical wiring is installed too closely to copper water pipes, the electrical current running through the wiring charges to copper piping combined with the water and its properties causes electrolysis in the copper water pipes thereby weakening them.
Copper
No, hard copper pipe will split when you try to flare it.
Plumber
Heat speeds up chemical reactions. As corrosion is a chemical reaction, copper pipes at a higher temperature will corrode faster
Copper has several redeeming qualities. It last long, does not rust, and won't grow bacteria. It also does not interact with water, making it good for pipes.
Copper doesn't rust