I mistook my girlfriend's best friend for her …

Twins are not exactly the same everywhere. They will mistake their girlfriends for girlfriends. Are you lying to ghosts or yourself? If your girlfriend believes it, it can only show that she really loves you and would rather deceive herself. If you have a little sense of responsibility, you should end it, either choose one or get rid of yourself, and don't hurt two women who like you.