(a) A certificate of occupancy issued by the building and zoning office is required in advance of the use or occupancy of: (1) Mobile homes; (2) A building hereafter erected, altered or moved; (3) A change of uses of any building or land; (4) Any nonconforming use that is existing on April 10, 2001, that is changed, extended, altered, or rebuilt thereafter. The certificate of occupancy shall state specifically wherein the nonconforming use fails to meet the provisions of this chapter. (b) A certificate of occupancy, either for the whole or a part of a building, shall be applied for coincident with the application for a building permit and shall be issued within ten days after the erection of structural alterations of such building, or part, shall have been completed in conformity with the provisions of this chapter. If the certificate of occupancy is denied, the building and zoning office shall state in writing the reasons for refusal and the applicant shall be notified of the refusal. A record of all certificates shall be kept on file in the office of the building and zoning office and copies shall be furnished on request to any person having a proprietary or tenancy interest in the buildings or land involved.