issues/1239: some copyn() usage expects at least 'n' bytes
             to be copied regardless of embedded nuls.
Merge pull request #1323 from monkeyiq/2014apr/issues/1239

issues/1239: some copyn() usage expects at least 'n' bytes