The teacher in our school said that I would rather retake the exam, pass it absolutely and not cheat. Once you cheat, your degree certificate will be gone, and you will probably lose your degree after four years of university study, unless your school does not have this regulation. I don't know what school you are from, but it's better to ask your school teacher for specific regulations, otherwise it's all empty talk.
I hope my help can help you, so adopt it quickly.