Courteney Cox pulls a Monica Geller and recycles a 21-year-old dress for her daughter