Implemented enqueueCopyBuffer and enqueueCopyBufferRect (Issue #26). Fixed exceptions in CommandQueue.