public boolean copy(File src, File dst){
        try {
            // Copies src file to dst file.
            // If the dst file does not exist, it is created
            InputStream in = new FileInputStream(src);
            OutputStream out = new FileOutputStream(dst);
    
            // Transfer bytes from in to out
            byte[] buf = new byte[4096];
            int len;
            while ((len = in.read(buf)) > 0) {
                out.write(buf, 0, len);
            }
            in.close();
            out.close();
        } catch (FileNotFoundException ex) {
            imprimirLogFisico("Error al copiar el archivo "+src+" "+ex);
            return false;
        } catch (IOException ex) {
            imprimirLogFisico("Error al copiar el archivo "+src+" "+ex);
            return false;
        }
        return true;
    }