The judge of said state court shall have power to cause testimony to be taken and used de bene esse, and for the purpose of perpetuating testimony within his jurisdiction in all cases according to the general laws of the state, and the judge and all other officers of said state court shall have power, respectively, to administer oaths pertaining to their office, as the judge and other officers of the superior court may in like cases do; and the said judge shall also have power to attest deeds and other papers and administer affidavits in all cases anywhere in the state in which by existing laws such papers may be attested and affidavits administered by the justices of the peace of this state, and the judge of said state court shall have all the powers and authority throughout his jurisdiction of judges of the superior courts, and all laws relating to and governing judges of the superior courts shall apply to the judge of said state court so far as the same may be applicable, except as herein otherwise provided.