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)...

Loading Slideshow...
  • Amal Fashanu February 2013

    (Getty photo)

  • Brittny Gastineau October 2012

    (Xposurephotos)

  • Jennifer Lopez October 2012

    Pacific Coast News)

  • Joanna Krupa October 2012

    (Pacific Coast News)

  • Sofia Vergara, September 2012

    (Twitter/WhoSay photos)

  • Emma Watson September 2012

    (Splash News)

  • Amy Heidemann of Karmin, September 2012

  • Demi Lovato, July 2012

    (AP photo)

  • Jennifer Lopez, July 2012

    (Pacific Coast News photo)

  • Nicki Minaj, August 2012

    (Pacific Coast photo)

  • Gloria Glovan, June 2012

  • Sharon Stone, June 2012

    (Getty photo)

  • Lindsay Lohan, June 2012

    (Fame Flynet photo)

  • Lisa Rinna, June 2012

    (Getty photo)

  • Melody Thornton, April 2012

    (Getty photo)

  • Demi Lovato, September 2011

  • Charlotte Kemp, September 2011

    (Getty photo)

  • Ellie Kemper, February 2012

  • Lydia Bright, July 2011

  • Lady Gaga, June 2011

    (Fame Flynet photo)

  • Lady Gaga, May 2011

    (Getty photo)

  • Milla Jovovich, March 2011

    (Pacific Coast News photo)

  • Monica Bellucci, February 2011

    (Pacific Coast News photo)

  • Pamela Anderson, February 2011

    (Pacific Coast News photo)

  • Hayden Panettiere, January 2011

    (Getty photo)

  • Cher, December 2010

    (Pacific Coast News photo)

  • Venus Williams, July 2010

    (Pacific Coast News photo)

  • Tila Tequila, May 2010

  • Kim Kardashian, March 2010

    (Fame Flynet photo)

  • Katherine Heigl, March 2010

    (Getty photo)

  • Kate Moss, August 2009

    (Pacific Coast News photo)

  • Micha Barton, September 2008

    (Pacific Coast News photo)

  • Brad Pitt, January 2009

  • Lily Allen, July 2008

    (Pacific Coast News photo)

  • Victoria Beckham, April 2007

    (Pacific Coast News photo)

  • Lindsay Lohan, January 2007

    (Getty photo)

  • Minka Kelly, October 2007

    (Pacific Coast News photo)

  • Paris Hilton, May 2006

    (Fame Flynet photo)

  • Naomi Watts, July 2002

    (Getty photo)

  • Cara Kilbey Narrowly Avoids a Wardrobe Malfunction

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