build: Simplify feature tree copy to single format string