Causing your fellow student to do better shouldn't be harmful to you. Students should feel comfortable helping one another without fear of it worsening their own mark.