Issue: IZPACK-158 -- Refactored the copying of one stream to another into its own method and then added a new copyToTempFile method.  This is used to copy the internal build script to a temp file.
Issue: IZPACK-158
--
Refactored the copying of one stream to another into its own method and then added a new
copyToTempFile method.  This is used to copy the internal build script to a temp file.

git-svn-id: 408af81b9e4f0a5eaad229a6d9eed76d614c4af6@2798 7d736ef5-cfd4-0310-9c9a-b52d5c14b761

Helpstone/izpack,mtjandra/izpack,maichler/izpack,rkrell/izpack,tomas-forsman/izpack,izpack/izpack,izpack/izpack,Helpstone/izpack,codehaus/izpack,izpack/izpack,mtjandra/izpack,mtjandra/izpack,optotronic/izpack,yukron/izpack,rkrell/izpack,codehaus/izpack,bradcfisher/izpack,Helpstone/izpack,bradcfisher/izpack,optotronic/izpack,rsharipov/izpack,codehaus/izpack,yukron/izpack,Murdock01/izpack,optotronic/izpack,akuhtz/izpack,izpack/izpack,yukron/izpack,izpack/izpack,mtjandra/izpack,mtjandra/izpack,izpack/izpack,Murdock01/izpack,akuhtz/izpack,bradcfisher/izpack,stenix71/izpack,rkrell/izpack,yukron/izpack,codehaus/izpack,maichler/izpack,maichler/izpack,stenix71/izpack,Helpstone/izpack,Murdock01/izpack,stenix71/izpack,codehaus/izpack,yukron/izpack,rsharipov/izpack,rkrell/izpack,optotronic/izpack,tomas-forsman/izpack,Helpstone/izpack,maichler/izpack,Helpstone/izpack,maichler/izpack,rsharipov/izpack,codehaus/izpack,rkrell/izpack,akuhtz/izpack,codehaus/izpack,akuhtz/izpack,akuhtz/izpack,Helpstone/izpack,bradcfisher/izpack,Murdock01/izpack,rkrell/izpack,yukron/izpack,akuhtz/izpack,stenix71/izpack,optotronic/izpack,rsharipov/izpack,akuhtz/izpack,rsharipov/izpack,Murdock01/izpack,Murdock01/izpack,maichler/izpack,tomas-forsman/izpack,rsharipov/izpack,mtjandra/izpack,optotronic/izpack,bradcfisher/izpack,yukron/izpack,tomas-forsman/izpack,stenix71/izpack,mtjandra/izpack,Murdock01/izpack,stenix71/izpack,bradcfisher/izpack,optotronic/izpack,rkrell/izpack,stenix71/izpack,maichler/izpack,tomas-forsman/izpack,tomas-forsman/izpack,tomas-forsman/izpack,rsharipov/izpack,bradcfisher/izpack,izpack/izpack