}
private FileAction getCopyNewerAction(FileState fileStateA, FileState fileStateB)
{
if (fileStateA.isNewer(fileStateB))
return new CopyAction(fileStateA, folderStateA, fileStateB, folderStateB, CopyAction.FROM_A_TO_B);
if (fileStateA.isOlder(fileStateB))
return new CopyAction(fileStateA, folderStateA, fileStateB, folderStateB, CopyAction.FROM_B_TO_A);
return null;
}