[mlpl][SmartBuffer] Add copy constructor and operator=