It is a displacement reaction.
Displacement reaction is a chemical reaction in which a more reactive element displaces a less reactive element from its compound. Both metals and non-metals take part in displacement reactions. In the given example I is displaced by Cl.