My question involves criminal law for the state of: California , my and my ex boyfriend were shopping at target, our intentions were to buy a lot of movies to sell them at the flea market, and other places. We put all the movies in the shopping car inside 2 reusable target bags, then I told my ex boyfriend that we should put some movies back because they were too many and I wasn't going to buy all of them, he didn't want to do it he wanted me to buy all if them, I told him that if he didn't want to put some back I was going to put aloof them back, then I did it, right by the surveillance camera inside the store I emptied the 2 bags and took only the stuff I was going to pay for and walked away to the register, he started walking behind me with the shopping car, beging me to please buy the items I didn't pay attention to him and he walked through a close register and was waiting for me at the end of the register just looking at me, I finished paying my stuff and started walking away he started walking behind me towards the exit I asked him what are you doing leave the stuff there I am not going to buy it, and right before we cross the detector far away from the exit door like 20 feet away the lost prevention guy stopped him and took him with him to the office I was shocked they did that because nothing was been stolen everything was in the shopping cart, I went with him to the back room to see why they were taking him and I waited there with him, they called the police and the office came and made a police report, he didn't get arrested, the officer didint want to take him because he didn't get out of the store, so they let him go and now 5 months later I get a citation to appear in court for the following charges pc 487(a) 460(b) pc 484 with 1 especial allegation, they sent a letter for him and one for me to appear in court for the same charges, I don't understand why they are charging me for it, if we didn't steel anything, I don't know what to do. 3 years ago I got arrested for shoplifting at target and I got the case expunged last year, I've been living a crime free life I don't want to get in trouble and now they are accusing me for something that nobody did. Please give me advice.

