Like objcopy for Linux but with less options.