var
i: integer;
mni: TMenuItem;
begin
for i:= 0 to PopupMenu2.Items.Count - 1 do
begin
mni := TMenuItem.Create(nil);
mni.Caption := PopupMenu2.Items.Caption;
mni.OnClick := PopupMenu2.Items.OnClick;
if mni.Parent = nil then
PopupMenu1.Items.Add(mni);
end;