SYDNEY - The man accused of killing 51 people in two mosques in New Zealand has changed his plea to guilty to all charges in a sudden appearance in court via audiovisual link on Thursday.