The tops and bottoms of porphyry copper deposits