implement init table copy