add gate copiers, close #2081