The statute specifies "knowingly and with intent," which is hard to prove, which is why most prosecutors aren't eager to take these cases on unless they're really strong, there is some kind of intent judged to be malicious, and/or clear intent to deceive.
There are additional rules when it comes to classified information:
18 U.S. Code § 793 - Gathering, transmitting or losing defense information
It states:
(f) Whoever, being entrusted with or having lawful possession or control of any document, writing, code book, signal book, sketch, photograph, photographic negative, blueprint, plan, map, model, instrument, appliance, note, or information, relating to the national defense, (1)
through gross negligence permits the same to be removed from its proper place of custody or delivered to anyone in violation of his trust, or to be lost, stolen, abstracted, or destroyed, or (2) having knowledge that the same has been illegally removed from its proper place of custody or delivered to anyone in violation of its trust, or lost, or stolen, abstracted, or destroyed, and fails to make prompt report of such loss, theft, abstraction, or destruction to his superior officer—
Shall be fined under this title or imprisoned not more than ten years, or both.
And that is why the changing of the language by Peter S was so damning to the FBI's integrity that you want to defend passionately. HRC blatantly violated this statue and should be in jail today. She put the whole country at risk.