Подскажите плиз,что не так?
package com.javarush.task.pro.task15.task1517;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Scanner;
/*
Файловые операции
*/
public class Solution {
public static void main(String[] args) throws IOException {
Scanner scanner = new Scanner(System.in);
Path filePath = Path.of(scanner.nextLine());
Path fileNewPath = Path.of(scanner.nextLine());
//напишите тут ваш код
boolean b1 = Files.notExists(filePath);
boolean b2 = Files.notExists(fileNewPath);
if(b1 == true) {
Files.createFile(filePath);
} else if(b2 == true) {
Files.move(filePath, fileNewPath);
} else if(b2 == false) {
Files.delete(filePath);
}
scanner.close();
}
}