in reply to Re^4: File name is long to copy
in thread File name is long to copy

I suggest changing the error message like hippo advised here
"couldn't copy file '$source' to '$target': $!";
and perhaps count the backslashes.