wblock,
Thank you for all the explanation!
I used my script to successfully duplicate 1TB to another 1TB, then 1TB to a 20G IDE. However the same code from 20G to a 250G (both IDE, connected via external USB), upon booting the 250G, it says "GPT Boot backup code bad" or something like that...