fileCopy() method explicitly closes it.
fileCopy() returns, the
fileOutputStream parameters are closed. But even if
fileInputStream would not be closed, it would not point to the
beginning of the file anymore (because
fileCopy() uses it to
read bytes from the file). Easiest in your case is to just create a new
FileInputStream when you want to call