A sale by a sheriff or other officer of the attached property under an execution issued and a conveyance made pursuant thereto shall convey all the title to such property had by a defendant therein at the time that the writ of attachment became a lien thereon or by him acquired at any time afterwards.
N.J.S. § 2A:26-15