Take Screenshot and stored by projects throws error

I use take screenshot and store screenshots by projects using relative paths and it always works well. But today the first time I encountered below error:
Caused by: java.io.IOException: Failed to copy full contents from ‘C:\Users\leia\AppData\Local\Temp\screenshot8260122974914130392.png’ to ‘F:\Automation\testProject\Reports\screenshot\20211228\2ndSS_094453.png’ Expected length: 77262 Actual: 77455
at org.apache.commons.io.FileUtils.doCopyFile(FileUtils.java:1142)
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1076)
at com.kms.katalon.core.webui.util.FileUtil.takeDefaultScreenshot(FileUtil.java:333)
at com.kms.katalon.core.webui.util.FileUtil.takesScreenshot(FileUtil.java:58)

Searched in Google, it should be caused by the file is still written when copying files. Kindly check if there’s any enhancement can be done to the keyword so that such error no longer encountered or any solution I can done to avoid hit the error in future. Thank you.