Confused on what he wants and what to do about it.

Me and my boyfriend of almost two year recently broke up because he felt like that we couldn’t work things out. After not even a day of being done he started dating a different girl. He lives with me cause of some family problems so I have had to deal with him moving on which has been hard. It seems like he doesn’t really wanna be with her because he has still stayed at my house telling me he loves me and cares for me. Last night he told me that I was his one true love, that he loves, that he cares for me and then he had sex with me. Now he is telling me that he loves me and cares for me that he doesn’t regret having sex with me he even talked about doing it again while he is still in a relationship with the other girl. I love him with all my heart and I know he loves me but he doesn’t wanna work things out cause he thinks we can’t work things out. He tells me that he doesn’t wanna be in a relationship with me right now but never says that he doesn’t ever want to be with me ever again. He says he likes this other girl and he wants to be with her but yet he is telling me stuff and having sex with me. I mean he even kissed me this morning and held my hand. I really honestly think he is just in this relationship with the girl just so his mind is off of me cause he has told me he can’t stand seeing me cause he knows what will happen. I also think he is in the relationship with her so he has someone to fall on when he moves out. What do y’all think about why he is doing this? And what should I do about it cause I wanted to work things out with him and be with him.