// mono >=6.6 bug: zero length file since chmod happens at the start
_logger.Debug("{3} failed to {2} file likely due to known {3} bug, attempting to {2} directly. '{0}' -> '{1}'",source,destination,move?"move":"copy",PlatformInfo.PlatformName);
try
{
_logger.Trace("Copying content from {0} to {1} ({2} bytes)",source,destination,srcInfo.Length);
// mono 6.0, mono 6.4 and netcore 3.1 bug: full length file since utime and chmod happens at the end
// mono 6.0, mono 6.4 and netcore 3.1 bug: full length file since utime and chmod happens at the end
_logger.Debug("{3} failed to {2} file likely due to known {3} bug, attempting to {2} directly. '{0}' -> '{1}'",source,destination,move?"move":"copy",PlatformInfo.PlatformName);
_logger.Debug("{3} failed to {2} file likely due to known {3} bug, attempting to {2} directly. '{0}' -> '{1}'",source,destination,move?"move":"copy",PlatformInfo.PlatformName);