copy onload data