Added copy function for bans