Copy lecture code