Try something like:
Change how you store the copy:
List<ListViewItem> clones = new List<ListViewItem>();
Variable
hasclone
is unnecessary.
Then copy them all:
clones.Clear();
foreach (ListViewItem item in listView1.SelectedItems)
{
clones.Add((ListViewItem)item.Clone());
}
And paste them all:
if (clones.Any())
{
++nummer;
foreach (ListViewItem clone in clones)
{
listView1.Items.Insert(actions++, clone);
}
sortlist();
}
Good luck!