Check if file got moved successful on move/copy

close #3893