In exercising its power, the board of appeals may, in conformity with the provisions of this article, reverse or affirm, wholly or partly, or may modify the order, requirements, decision or determination, and to that end shall have all powers of the officer from whom the appeal is taken and may issue ot direct the issuance of a permit, certificate or other document as required.