Bug fix BookEntity's getArrayCopy() and add toArray()