copyToBuffer() also does the NULL check. So, I'd say it would be more consistent to either keep 'em both or get rid of both of them.