How to deal with a corroded copper water pipe?
Replacing it is the only viable option. You can buy a piece of pex and two push-on connectors for about $30 at your local home improvement store. The only tools you'll need are too cut the copper out and the pex to length - no tools needed for the connectors.