I dug up an old lead water main today and im replacing it with HDpe. Does anyone know what the code says about when and where to switch over to copper? I've heard 10' from house in order to use it as a grounding electrode for the service panel. Any input would be appreciated.