So was he transported twice or were there two Andrew Scotts alias Thomas Purdy?
So it looks like Andrew Scott alias Thomas Purdy or Purdey was born in Scotland circa 1780, a hosier, and was transported in 1812/1813.
The bricklayer Thomas Purdy born in 1790's from Norfolk, transported in 1820/21, would appear to be someone else.