No reason to special case n = 1.

I would, on the other hand, special case srcLen = 1 (and use memset)