Fittings for water lines are different than those for drain ... ABS or galvanized pipes to copper, you'll need a transition fitting. In some cases, you can do it by taking two threaded adapters ...