Any person who fraudulently obtains from the Comptroller under the provisions of this title any duplicate warrants upon the Treasury of the State or who shall with intent to defraud obtain any warrants to which he is not entitled must, on conviction, be punished as if he had stolen the amount specified in the warrant.