copy and layout