copy content webscript implementation