Peace be upon you. It is not permissible to cheat in school exams through any unlawful means that violate the system. According to Ayatollah Sistani, cheating is prohibited in all forms. Similarly, Ayatollah Khamenei states that cheating is not allowed even in the context of the question posed. May you be successful in all good.