..F....... [ZBX-7335] Make use of existing element copy code for copying items. Remove file "configuration.item.copy.php" as it is not used anymore. Add and make use of COPY_TO_ constants. Fix fallback to first group when switching from hosts to templates and group does not exist. Make first group in list be default. Make more specific output parameters to API calls (remove use of API_OUTPUT_EXTEND). Use getRequest()/hasRequest() calls instead of accessing $_REQUEST.