Hi, im building a feature that creates site according to a row
insterned in a list, right now im using a site template i generated to
create my site, but i found out that all my pages that contain lists
as webparts lose the view they have configured. i read about it on a
Microsoft page and its a well known bug. Looking for a way to go
around it, i found out that copying a site using the structure and
content manager, to another location, the lists doesnt lose the
views.

so, is there a way to copy a site to another location by code? ive
been looking in the object model, and i found how to copy list items,
but not entire sites...

thank you very much!!

Eli