Optimal Threshold for a Random Graph to be 2-Universal