Steps to reproduce the issue
Joomla\Filesystem\File::copy(JPATH_SITE . '/README.txt', JPATH_SITE . '/README.txt');
failed
I know that this doesn't makes sense when we boil it down to the statement here. But the original issue was a result of a script, see joomla/joomla-cms#18352
Expected result
I am not sure if this should fail or not, at least when we just go over it, it will not hurt.
Actual result
Error
System information (as much as possible)
latest version of joomla
Additional comments
Steps to reproduce the issue
Joomla\Filesystem\File::copy(JPATH_SITE . '/README.txt', JPATH_SITE . '/README.txt');failed
I know that this doesn't makes sense when we boil it down to the statement here. But the original issue was a result of a script, see joomla/joomla-cms#18352
Expected result
I am not sure if this should fail or not, at least when we just go over it, it will not hurt.
Actual result
Error
System information (as much as possible)
latest version of joomla
Additional comments