static void CopyPattern()

in localized/ja/11-Other/GameOfLife/Program.cs [122:131]


        static void CopyPattern(byte[,] src, byte[,] dst, int xoffset, int yoffset)
        {
            for (int y = 0; y < src.GetLength(0); y++)
            {
                for (int x = 0; x < src.GetLength(1); x++)
                {
                    dst[x + xoffset, y + yoffset] = src[y, x];
                }
            }
        }