<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">11.2.3</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">Windows 10</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto">5.10.0</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">When use fse.copy() function to copy a file from one location to another, it should works.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">It seems like, on 11.2.3, fse.copy() will stop working sometimes, without any error or warning. It's like the app doesn't have the permission to perform the operation. On 5.10.0, the same code works perfectly.</p>
<p dir="auto">Here is more information.<br>
1.Not everyone will encounter this BUG.<br>
2.For some people, they can temporarily solve this problem by restarting the app. The bug will show up afterwards.<br>
3.For some people, even restarting the app will not solve this problem.<br>
4.This bug is only found on Windows OS.</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">Our app is a book reading app. We updated the version of electron from 5.10 to 11.2.3 last month.<br>
We have got a lot of complaints about "can not add new books to the library sometimes." after the update.<br>
Our team member has encountered the same problem once, but we cannot reproduce it afterwards.<br>
Right now, we have narrowed down the problem to following functions fse.copy().</p>
<p dir="auto">It seems like, on 11.2.3, fse.copy() will stop working sometimes, without any error or warning. It's like the app doesn't have the permission to perform the operation. On 5.10.0, the same code works perfectly.</p>
<p dir="auto">Our app is a book reading app. We updated the version of electron from 5.10 to 11.2.3 last month.<br>
We have got a lot of complaints about "can not add new books to the library sometimes." after the update.<br>
Our team member has encountered the same problem once, but we cannot reproduce it afterward.<br>
Right now, we have narrowed down the problem to following functions fse.copy().</p>
<p dir="auto">It seems like, on 11.2.3, fse.copy() will stop working sometimes, without any error or warning.  It's like the app doesn't have the permission to perform the operation.  On 5.x, the same code works perfectly.</p>
<p dir="auto">Here is more information.<br>
1.Not everyone will encounter this BUG.<br>
2.For some people, they can temporarily solve this problem by restarting the app.<br>
3.For some people, even restarting the app will not solve this problem.<br>
4.This bug only found on Windows OS.</p>
<p dir="auto">Does anyone know why this is? what should we do?<br>
Thanks.</p>