Make copyResource and copytemplate usable by all entity drivers