Android : assertion and crash when copying file

When i copy a file on Android with File::copyFileTo, i hit the following assertion in FileInputStream::read:

// You should always check that a stream opened successfully before using it!
jassert (openedOk());

The same code is working fine on OSX and iOS. Is that a JUCE issue?