copy metadata