copy Panel to kernel