copy lcore helper