There is no 'on-screen' reason given for Lizzie and Dylan to know Henry gave his hard drive to Mosher. In one scene Lizzie says Henry told her his hard drive had been stolen, but he didn't report it, and in the following interrogation scene, Dyland says "none of my students would trust me with their hard drive". Utter non-sequiter.