i will overclock a macbook air 2014. but is it safe?

Apple already selectively overclock/underclock it for you in the power management software. The beauty of Macs is that you don't have to worry about that sort of thing. If you want to have fun overclocking then buy a PC.