@Override
    public void crearFichero(String ruta) 
    {
        FileInputStream from = null;
        FileOutputStream to = null;
        File toFile = new File(ruta + this.getMetadato("nombre") + this.getMetadato("extension"));
        
        try 
        {
            from = new FileInputStream(this.fichero);
            to = new FileOutputStream(toFile);
            byte[] buffer = new byte[4096];
            int bytesRead;

            while ((bytesRead = from.read(buffer)) != -1)
                to.write(buffer, 0, bytesRead); // write
        }
        catch (IOException e) {}
        finally 
        {
            if (from != null)
            try {from.close();} 
            catch (IOException e) {}
            if (to != null)
            try {to.close();} 
            catch (IOException e) {}
        }
    }