Buffer too small problem in NpgsqlCopySerializer

This patch fixes the issue in NpgsqlCopySerializer