If your closing is after the due date of the condo fees (usually 1st of each month), you should pay the condo fees and inform your lawyer of the payment so that your lawyer can reflect it on the Statement of Adjustments.
You should not worry about overpayment as by reflecting the payment in the Statement of Adjustments, your lawyer will make sure that you only pay up until the closing date.