Whenever any traffic or police officer delivers a notice to appear or notice of violation charging an offense under this code to any person, it shall include all information set forth upon the copy of the notice filed with a magistrate and no traffic or police officer shall set forth on any notice filed with a magistrate or attach thereto or accompany the notice with any written statement giving information or containing allegations which have not been delivered to the person receiving the notice to appear or notice of violation.