A New York high school student has been arrested after allegedly beating up his principal over an argument about headphones, according to police.