The proceedings in such case shall be governed by the laws relating to inquests upon dead bodies. The officer conducting such investigations shall have the same powers as are conferred upon justices of the peace in the preceding Articles of this Chapter.