In some cases DataIn is greater than data out, the previous implementations simply copied all data, which doesn't work
in some specific instances (the files appear to have compression enabled).
Should resolve#2433
* Applied formatting
* Fixed file encoding + Updated copyright year
* Updated License
* Fixed more file encoding
* Copyright notice now shows the year the file was created
Code cleanup and simplifications - make things a little clearer
Remove dataInSize and dataOutSize - can be obtained from Stream.Length
Simplify writing overflow on second pass
Remove unused code
Should be working now