Only copy resources that are used by the template