``` val fos = FileOutputStream(temp) ...
# getting-started
l
Copy code
val fos = FileOutputStream(temp)
        fos.write(fis.readAllBytes)
Hey guys. i ensure my jdk version is 10 and project level 9, but my IDEA error on the "readAllBytes" method. Error: Kotlin: Unresolved reference: readAllBytes