Bug 1073275: Use Uint8Array.prototype.set instead of Uint8Array.set for buffer.copy and buffer.write.
Merge pull request #1652 from Mossop/bug1073275

Bug 1073275: Use Uint8Array.prototype.set instead of Uint8Array.set for buffer.copy and buffer.write. r=erikvold