10/31/2012 10:16 am ET

Ellen DeGeneres Dresses Up As Sofia Vergara's Wardrobe Malfunction For Halloween (VIDEO)

For besties Ellen DeGeneres and Sofia Vergara, teasing each other is just another part of being pals -- and CoverGirls.

Back in January, the hilarious twosome appeared on "Ellen" for another prank, which ended in the more brunette of the pair being smeared in some seriously terrible makeup. This week, the jokes were back, as Ellen took to the set of her show's 2012 Halloween episode in full costume -- as the famous "Modern Family" actress. She slipped into a replica of Vergara's sexy teal Zuhair Murad Emmys dress, completely with curve-enhancing bodysuit underneath. (Let's face it, most of us would need "enhancements" to mimic Sofia's gorgeous figure.)

"Mucho [sic] gracias!" Ellen tells the cheering audience in a faux-Colombian accent. (Not that great an impression, in our opinions -- sorry, Ellen!) "I am easy breezy beautiful Cover Girl from Colombia! As you can see, I put my pumpkins out."

Okay, we kind of LOLed at that line.

Of course, the shining feature of Sofia's Emmys night was that fateful Twitpic where she revealed her wardrobe malfunction: her dress had split in the back, revealing a sizeable portion of her derriere.

Let's just say Ellen had that part of the costume covered -- or uncovered? -- as well.

Watch above to see Ellen's Sofia-tation -- and see who joins her on set to take her costume down a notch or two.

See some Hollywood wardrobe goofs that Ellen hasn't mocked (yet)...

Eek! Wardrobe Malfunctions (NSFW)

Want more? Be sure to check out HuffPost Style on Twitter, Facebook, Tumblr, Pinterest and Instagram at @HuffPostStyle.