Kate Middleton's Close Pal Got Married—and Nearly Copied Her Dress