@@ -0,0 +1,1473 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage fs.command;%0A%0Aimport fs.App;%0Aimport fs.Disk;%0Aimport java.util.logging.Level;%0Aimport java.util.logging.Logger;%0A%0A/**%0A *%0A * @author Leo%0A */%0Apublic class CopyVirtualToVirtualCommand extends Command%7B%0A    %0A    public static final String COMMAND = %22copyVtoV%22;%0A%0A    @Override%0A    public void execute(String%5B%5D args) %0A    %7B%0A        try %0A        %7B%0A            if (args.length != 4)%0A            %7B%0A                reportSyntaxError();%0A                return;%0A            %7D%0A            String virtualOriginPath = args%5B1%5D;%0A            String virtualDestinationPath = args%5B3%5D;%0A            App app = App.getInstance();%0A            Disk disk = app.getDisk();%0A            disk.copyVirtualToVirtual(virtualOriginPath, virtualDestinationPath);%0A        %7D %0A        catch (Exception ex) %0A        %7B%0A            Logger.getLogger(CopyRealToVirtualCommand.class.getName()).log(Level.SEVERE, null, ex);%0A        %7D%0A    %7D%0A%0A    @Override%0A    protected String getName() %0A    %7B%0A        return COMMAND;%0A    %7D%0A%0A    @Override%0A    protected String getDescription() %0A    %7B%0A        return %22Copies a content from a virtual node to another virtual node of the File System%22;%0A    %7D%0A%0A    @Override%0A    protected String getSyntax() %0A    %7B%0A        return getName() + %22VirtualOriginPath /to/ VirtualDestinationPath%22;%0A    %7D%0A    %0A%7D%0A

Copy virtual to virtual command implemented.