Boyfriend broke up with me..

My boyfriend said his heart wasnt in the relationship anymore.....and he thinks itd be better if we were friends instead.. i still love him. I know there is no way to change his mind but i just wish things were different and we could stay together bc we’ve been together for 2 years. Im off to college but coming home every weekend and he commutes so it wouldnt have been a problem. Im just sad and need some advice :( i want him back bc our relationship was GREAT. No problems no arguments just simply his heart wasnt in it and it wasnt fair to me that he’d lead me on and that I deserve better. I just want to change his mind! Ugh!