In exercising the above-mentioned powers, the Board may, in conformity with the provisions of the law, reverse or affirm, wholly or partly, or may modify the order, requirement, decision or determination appealed from and may make such order, requirement, decision or determination as ought to be made and to that end shall have all the powers of the Building Official.