Implemented array_splice()