Miley - who caused controversy at this year's VMAs with her twerking antics - bared her boob as she donned Kim's famous purple outfit that got everyone talking back in the day.
Tweeting a snap of herself all dressed up for a Halloween party, Miley wrote: "Happy Halloween @LilKim."
Kim was clearly flattered by her Miley's attempts at recreating her look, tweeting that she wanted to squeeze her exposed boob, which was only covered with a nipple pasty.
"Awwww. Look at my baby @mileycyrus tonight!!! Looking GORGEOUS!!! I wish was there to squeeze your boob :) :) Love U so much !!!! #mytwin," Kim wrote.
Miley has long been a fan of the controversial rapper, gushing in a recent interview: "In my past life, I feel like that was me. I feel like Lil Kim is who I am on the inside.
"She just makes me happy... I just love her. And I can't help that I love her."
Meanwhile, many celebs are also copying Miley's VMAs look for Halloween.
Paris Hilton was pictured brandishing a foam finger at a party earlier this week, while Hugh Hefner and his wife Crystal Harris dressed up as Miley and Robin Thicke to recreate their twerk-filled performance.
Hugh Hefner and Crystal Harris
Fergie and Josh Duhamel
Sacha Baron Cohen and Isla Fisher
Goldie Hawn and Kurt Russell
Lauren Conrad and fiance William Tell
Mario Falcone and Charles Sims
Lucy Mecklenburgh and Ferne McCann
Slash attends a Halloween party with his wife Perla
Christian Audigier and Nathalie Sorensen
Sophie Ellis Bextor
Jamie Hince and Kate Moss
Denise Van Outen
Lauren Pope and Lauren Goodger
Katie Price (and friend)
Also on HuffPost: