copy unknown elements from inside