Step 1: Ore and overall scheme:
Copper pyrites, $\mathrm{CuFeS_2}$, is a sulphide ore, and a sulphide ore is first concentrated, then partly oxidised, then reduced by its own sulphide. The route is: crushing, froth flotation, roasting, smelting, conversion in a Bessemer converter, and electrolytic refining.
Step 2: Froth flotation:
Finely ground ore is stirred with water, pine oil and a little sodium ethyl xanthate. Air bubbles carry the oil-wet sulphide particles to the top as froth. The gangue is wetted by water and sinks. The froth is skimmed off and dried.
Step 3: Roasting in air:
On heating in a limited supply of air, copper pyrites changes as follows, and sulphur escapes as $\mathrm{SO_2}$:
\[ \mathrm{2CuFeS_2 + O_2 \rightarrow Cu_2S + 2FeS + SO_2} \]
Some FeS is oxidised to FeO:
\[ \mathrm{2FeS + 3O_2 \rightarrow 2FeO + 2SO_2} \]
Step 4: Smelting to get matte:
The roasted mass is heated with sand and coke in a blast furnace. Sand removes FeO as a slag, since $\mathrm{FeO + SiO_2 \rightarrow FeSiO_3}$. The slag floats on the matte, which is molten $\mathrm{Cu_2S}$ with a little FeS, and is tapped off separately.
Step 5: Conversion to blister copper:
The matte is poured into a Bessemer converter and air is blown through it. Here $\mathrm{Cu_2S}$ is partly oxidised, and the oxide then reacts with the unchanged sulphide. No outside reducing agent is needed, so this is called self-reduction:
\[ \mathrm{2Cu_2S + 3O_2 \rightarrow 2Cu_2O + 2SO_2} \]
\[ \mathrm{Cu_2S + 2Cu_2O \rightarrow 6Cu + SO_2} \]
The product has a blistered surface because of escaping $\mathrm{SO_2}$, and it is called blister copper (about 98 percent Cu).
Step 6: Electrolytic refining:
Pure copper is obtained by electrolysis. Blister copper forms the anode and pure copper forms the cathode in $\mathrm{CuSO_4}$ solution with a little sulphuric acid.
Copper dissolves from the anode and deposits on the cathode, while the less reactive impurities (Ag, Au) fall as anode mud.
Final Answer:
Copper is obtained from copper pyrites in these stages: concentration by froth flotation, roasting, smelting, Bessemerisation and electrolytic refining.
\[ \boxed{\text{Froth flotation} \rightarrow \text{roasting} \rightarrow \text{smelting} \rightarrow \text{Bessemer converter} \rightarrow \text{electrolytic refining}} \]