I was driving to work in the passenger seat with my boyfriend. We got pulled over because I didn't have my seatbelt on. But the cop gave me both copies of the ticket.leaving him no copy. I'm confused?

since you were the one driving the car you were responsible for the safety of all passengers in the car. so by law you get the ticket for him not wearing his seatbelt.