If you truly didn't mean to copy the song, it doesn't matter and you can probably tweak it to make it sound less similar. This happens a lot and I notice it with new artists all the time. Just change a couple things, don't scrap it. I did something similar to this once and I just played with it until the song eventually morphed into it's own unique form.