Fixes #7 

copy shell statements now work dependent on the platform that is
being compiled on.