Simplified arguments copying

Instead of using a for loop, we could just use the native Array.slice to copy the arguments object into an array.