#include <include/flecs.h> FLECS_API ecs_term_t ecs_term_copy(const ecs_term_t *src)
Copy resources of a term to another term. This operation copies one term to another term. If the source term contains allocated resources (such as identifiers), they will be duplicated so that no memory is shared between the terms.
dst- The term to copy to.
src- The term to copy from.