copy plugin agent cfg