Implement Buffer.slice