Thermodynamic investigations on chalcopyrite