Cleanup of stream writing
Clean up in method calls
Use available methods for array copying