Gas lines connected to water heaters should be made only of approved gas line materials. Copper is not one of them; gas can cause a copper line to deteriorate from the inside out. In such a case, a qualified company or contractor should be contacted to replace the line with a more appropriate material.