Freeport-McMoRan beats Q2 estimates as copper prices offset volume declines