Within 14 days after the sale, the officer shall leave an attested copy of the execution and of the return thereon with the officer of the company whose duty it is to record transfers of shares. The purchaser is thereupon entitled to a certificate or certificates of the shares bought by him, on paying the fees therefor and for recording the transfers. If such shares or interest were attached in the action in which the execution issued, he shall have all dividends which accrue after the attachment.
14 M.R.S. § 4904