Those small, galvanized pipes are signs of something ... so you may simply see two old pipes with threaded ends. When the ...
cast iron pipes to ABS or galvanized pipes to copper, you'll need a transition fitting. In some cases, you can do it by taking two threaded adapters of different materials and screwing them together.