mcjulie challenged me to write a meta about
dopplegangers on BtVS in the convo thread of her wonderful meta
"Where Did I Go? A Farewell to the Buffybot". The jist of her meta is that the Buffybot represents the "I'm Fine" mask that Buffy puts on to cover her grief and depression, starting with her mother's death in mid S5, and continuing through S6. (She also pointed out to me that Buffy is the only character on the show who gets two dopplegangers: the Buffybot and The First.)
( Lots of musings about Xander actually, not Buffy. I'm as surprised as you are. )