A patent is personal property and may be transferred, sold, mortgaged, bequeathed by a will or passed to the heirs of a deceased patentee. The patent law provides for the transfer or sale of a patent, or of an application for patent, by an instrument in writing.