Copying accents

I have this really annoying habit. I feel like I don’t have my own accent, I just copy the accent of whoever I’m speaking to at the time. I am conscious of myself doing it and I try to stop myself but I just can’t! Does anyone else do this? Is it an autism thing?