Implement copy constructor for Buffer.

+ Improved code layout.